package com.example.image.demos.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ts
 * @since 2024-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer user_id;

    @TableField("user_number")
    private Integer user_number;

    @TableField("user_name")
    private String user_name;

    @TableField("password")
    private Integer password;

    @TableField("state")
    private Integer state;

    @TableField("department")
    private String department;

    @TableField("position")
    private String position;

    @TableField("e_mail")
    private String e_mail;

    @TableField("tel")
    private Integer tel;

    @TableField("last_time")
    private LocalDateTime last_time;

    @TableField("start_time")
    private LocalDateTime start_time;

    @TableField("role_id")
    private Integer role_id;


}
